//
//  FWCHomeTableViewCell.swift
//  微博项目001
//
//  Created by 樊武超 on 16/4/13.
//  Copyright © 2016年 樊武超. All rights reserved.
//

import UIKit
import SnapKit
class FWCHomeTableViewCell: UITableViewCell {

    var states: FWCHomeDataModel?{
        didSet{
        userState.states=states
        
        }
    
    }
    override init(style: UITableViewCellStyle, reuseIdentifier: String?) {
        super.init(style: .Default, reuseIdentifier: reuseIdentifier)
        setUpUI()

    }

    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    func setUpUI(){
    contentView.addSubview(userState)
        userState.snp_makeConstraints { (make) -> Void in
            make.top.left.right.equalTo(contentView)
        }
        
    
    }
    
    lazy var userState: FWCStateView = FWCStateView()
}
